<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018\7\26 0026
  Time: 13:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">

<!-- Mirrored from v3.bootcss.com/examples/dashboard/ by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 25 Nov 2015 09:27:48 GMT -->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="http://v3.bootcss.com/favicon.ico">

    <title>后台管理</title>

    <!-- Bootstrap core CSS -->
    <link href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="${pageContext.request.contextPath}/bootstrap/css/dashboard.css" rel="stylesheet">

    <!-- layer弹窗css -->
    <link href="${pageContext.request.contextPath}/layer/skin/default/layer.css" rel="stylesheet">

</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="${pageContext.request.contextPath}/">投票系统后台管理页面</a>
        </div>
    </div>
</nav>

<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
                <%--<li><a href="${pageContext.request.contextPath}/vote/toAddVote.do">增加投票</a></li>
                <li><a href="${pageContext.request.contextPath}/vote/toShowVote.do">投票管理</a></li>--%>
                <li><a href="#" onclick="loadAddVoteHtml()">增加投票</a></li>
                <li><a href="#" onclick="loadShowVoteHtml()">投票管理</a></li>
            </ul>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" id="rightModel">
            <h1 class="page-header">欢迎来到投票系统后台管理页面</h1>
        </div>
    </div>
</div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="${pageContext.request.contextPath}/jquery/jquery-2.1.1.min.js"></script>
<script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
<!-- layer弹窗js -->
<script src="${pageContext.request.contextPath}/layer/layer.js"></script>

<script type="application/javascript">
    // 为增加投票按钮帮点单击事件
    function loadAddVoteHtml() {
        $("#rightModel").load("addVote.jsp");
    }
    // 为增加投票按钮帮点单击事件
    function loadShowVoteHtml() {
        $("#rightModel").load("showVote.jsp");
    }
</script>
</body>

<!-- Mirrored from v3.bootcss.com/examples/dashboard/ by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 25 Nov 2015 09:27:49 GMT -->
</html>

